﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Freshome.p.fox
{
    public static class Seasonote
    {
        public static byte CurrentSeason()
        {
            int mn = DateTime.Today.Month;
            if (mn > 1 && mn <= 4) return 1;
            else if (mn > 4 && mn <= 7) return 2;
            else if (mn > 7 && mn <= 10) return 4;
            else return 8;
        }
        public static string CurrentMonth()
        {
            int mn = DateTime.Today.Month;
            switch (mn)
            {
                case 1:
                    return "一月份";
                case 2:
                    return "二月份";
                case 3:
                    return "三月份";
                case 4:
                    return "四月份";
                case 5:
                    return "五月份";
                case 6:
                    return "六月份";
                case 7:
                    return "七月份";
                case 8:
                    return "八月份";
                case 9:
                    return "九月份";
                case 10:
                    return "十月份";
                case 11:
                    return "十一月";
                case 12:
                    return "十二月";
                default:
                    return "本季度";
            }
        }
    }
}